package com.alcj.service.impl;

import com.alcj.mapper.VehicleTypeMapper;
import com.alcj.model.VehicleType;
import com.alcj.service.VehicleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

/**
 * @author : wangpf
 * @version : v1.0
 * @Package : com.alcj.service.impl
 * @Description : 车辆类型业务逻辑实现类
 * @date : 2017/10/17 10:37
 */
@Service
public class VehicleTypeServiceImpl implements VehicleTypeService {

    /**
     * 车辆类型数据库接口
     */
    @Autowired
    VehicleTypeMapper vehicleTypeMapper;

    /**
     * @Author: wangpf
     * @Description: 获取车辆类型信息
     * @Date: 2017/10/17 10:59
     * @param:
     * @return:
     */
    @Override
    public List<VehicleType> selectVehicleTypeList() throws Exception {

        List<VehicleType> vehicleTypeList = this.vehicleTypeMapper.selectVehicleTypeList();

        // 返回结果
        return vehicleTypeList;
    }
}
